﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using Hartley.ApplicationLogic;
using Hartley.DTOs;
using Hartley.Util;

namespace WebApplication1
{
    public partial class viewMatchById : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            SportsAL sportsAL=new SportsAL();
            List<MatchDTO> match = new List<MatchDTO>();
           string matchQueryString = Request.QueryString.ToString();
           if (matchQueryString != "")
           {
               match = sportsAL.GetMatchByMatchId(new Guid(matchQueryString));
               //gvAllMeeting.DataSource = allMeetings;
               //gvAllMeeting.DataBind();
           }




           dvViewMatchId.DataSource = match;
           dvViewMatchId.DataBind();

           //hlviewAllMinutesOfMeeting.NavigateUrl = "viewAllMintes.aspx?" + meetingId;
           
            
            
            
        }
    }
}